package com.sds.smarthome.foundation.entity;

import java.util.List;

/**
 * Created by lunanting on 2016/12/1.
 */

public class UserAuthorityBean {

    /**
     * accessPermission : true
     * workRooms : ["1","2"]
     */

    private boolean accessPermission;
    private List<String> workRooms;

    public UserAuthorityBean(boolean accessPermission, List<String> workRooms) {
        this.accessPermission = accessPermission;
        this.workRooms = workRooms;
    }

    public boolean isAccessPermission() {
        return accessPermission;
    }

    public void setAccessPermission(boolean accessPermission) {
        this.accessPermission = accessPermission;
    }

    public List<String> getWorkRooms() {
        return workRooms;
    }

    public void setWorkRooms(List<String> workRooms) {
        this.workRooms = workRooms;
    }
}
